<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<title>专业性的查询 | ElasticSearch 7.7 权威指南中文版</title>
	<meta name="keywords" content="ElasticSearch 权威指南中文版, elasticsearch 7, es7, 实时数据分析，实时数据检索" />
    <meta name="description" content="ElasticSearch 权威指南中文版, elasticsearch 7, es7, 实时数据分析，实时数据检索" />
    <!-- Give IE8 a fighting chance -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
	<link rel="stylesheet" type="text/css" href="../static/styles.css" />
	<script>
	var _link = 'specialized-queries.html';
    </script>
</head>
<body>
<div class="main-container">
    <section id="content">
        <div class="content-wrapper">
            <section id="guide" lang="zh_cn">
                <div class="container">
                    <div class="row">
                        <div class="col-xs-12 col-sm-8 col-md-8 guide-section">
                            <div style="color:gray; word-break: break-all; font-size:12px;">原英文版地址: <a href="https://www.elastic.co/guide/en/elasticsearch/reference/7.7/specialized-queries.html" rel="nofollow" target="_blank">https://www.elastic.co/guide/en/elasticsearch/reference/7.7/specialized-queries.html</a>, 原文档版权归 www.elastic.co 所有<br/>本地英文版地址: <a href="../en/specialized-queries.html" rel="nofollow" target="_blank">../en/specialized-queries.html</a></div>
                        <!-- start body -->
                  <div class="page_header">
<strong>重要</strong>: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" rel="nofollow">当前版本文档</a>。
</div>
<div id="content">
<div class="breadcrumbs">
<span class="breadcrumb-link"><a href="index.html">Elasticsearch 权威指南 [7.7]</a></span>
»
<span class="breadcrumb-link"><a href="query-dsl.html">查询领域特定语言(Query DSL)</a></span>
»
<span class="breadcrumb-node">专业的查询</span>
</div>
<div class="navheader">
<span class="prev">
<a href="query-dsl-span-within-query.html">« span_within 查询</a>
</span>
<span class="next">
<a href="query-dsl-distance-feature-query.html">distance_feature 查询 »</a>
</span>
</div>
<div class="chapter">
<div class="titlepage"><div><div>
<h2 class="title">
<a id="specialized-queries"></a>专业的查询 (Specialized queries)
</h2>
</div></div></div>
<p>该组包含的是不适合其他组的查询：</p>
<div class="variablelist">
<dl class="variablelist">
<dt>
<span class="term">
<a class="xref" href="query-dsl-distance-feature-query.html" title="distance_feature 查询"><code class="literal">distance_feature</code> (距离特性)查询</a>
</span>
</dt>
<dd>
一种根据动态计算的原点(origin)与文档的 date、date_nanos 和 geo_point 字段之间的距离来计算分数的查询。

它能够有效地跳过非竞争性的(non-competitive)命中。

<span class="remark">(基于时间或坐标的查询，越接近原点得分越高)</span>
</dd>
<dt>
<span class="term">
<a class="xref" href="query-dsl-mlt-query.html" title="More like this query"><code class="literal">more_like_this</code> (更相似)查询</a>
</span>
</dt>
<dd>
该查询查找与指定文本、文档或文档集合相似的文档。
</dd>
<dt>
<span class="term">
<a class="xref" href="query-dsl-percolate-query.html" title="Percolate query" rel="nofollow"><code class="literal">percolate</code> 查询</a>
</span>
</dt>
<dd>
该查询查找存储为与指定文档匹配的文档的查询。
</dd>
<dt>
<span class="term">
<a class="xref" href="query-dsl-rank-feature-query.html" title="Rank feature query" rel="nofollow"><code class="literal">rank_feature</code> 查询</a>
</span>
</dt>
<dd>
一种基于数字特征的值计算分数的查询，能够有效地跳过非竞争性的(non-competitive)命中。
</dd>
<dt>
<span class="term">
<a class="xref" href="query-dsl-script-query.html" title="Script query" rel="nofollow"><code class="literal">script</code> 查询</a>
</span>
</dt>
<dd>
该查询允许使用一个脚本充当过滤器。

另请参考 <a class="xref" href="query-dsl-function-score-query.html" title="Function score query" rel="nofollow"><code class="literal">function_score</code> 查询</a>。
</dd>
<dt>
<span class="term">
<a class="xref" href="query-dsl-script-score-query.html" title="Script score query"><code class="literal">script_score</code> (脚本评分)查询</a>
</span>
</dt>
<dd>
一种允许使用脚本修改子查询分数的查询。
</dd>
<dt>
<span class="term">
<a class="xref" href="query-dsl-wrapper-query.html" title="Wrapper query" rel="nofollow"><code class="literal">wrapper</code> (脚本)查询</a>
</span>
</dt>
<dd>
接受其他查询作为 json 或 yaml 字符串的查询。
</dd>
<dt>
<span class="term">
<a class="xref" href="query-dsl-pinned-query.html" title="Pinned Query" rel="nofollow"><code class="literal">pinned</code> (置顶的)查询</a>
</span>
</dt>
<dd>
将所选文档提升到与给定查询匹配的其他文档之上的查询。
<span class="remark">(提升特定文档的查询)</span>
</dd>
</dl>
</div>









</div>
<div class="navfooter">
<span class="prev">
<a href="query-dsl-span-within-query.html">« span_within 查询</a>
</span>
<span class="next">
<a href="query-dsl-distance-feature-query.html">distance_feature 查询 »</a>
</span>
</div>
</div>

                  <!-- end body -->
                        </div>
                        <div class="col-xs-12 col-sm-4 col-md-4" id="right_col">
                        
                        </div>
                    </div>
                </div>
            </section>
        </div>
    </section>
</div>
<script src="../static/cn.js"></script>
</body>
</html>